/**  
 *  VisualGroup JavaScript prototype Classes, version 0.1
 *  (c) 2008 Bill Vison <vison_ruan@126.com>
 *  For Html Componet AuthorisingRole Ingerface Defined .
 *  interface Vsg.AuthorisingRule {
		function doRules(); // run the defined object ---
 *	}
 *
/*--------------------------------------------------------------------------*/
Vsg.AuthorisingRule = Ext.extend(Ext.util.Observable,{
	
	_pass:false,
	
	constructor:function($config) {
		
		this.addEvents("afterLoadUrl","genComp");
		
		// ---- init variable ---
		Vsg.AuthorisingRule.superclass.constructor.call(this, $config);
		
	},
	
	chkResult:function() {
		return this._pass;
	}
	
});
Vsg.AuthorisingRule.RuleException = Ext.extend(Exception.CommonException,{
	name:"Vsg.AuthorisingRule.RuleException",
	constructor:function($message , $name ,$value) {
		Vsg.AuthorisingRule.RuleException.superclass.constructor.apply(this, arguments);
	}
});
Vsg.AuthorisingRule.RuleException.ParseRuleError = 1;
Vsg.AuthorisingRule.RuleException.NotAllowException = 2;
